import { createRouter, createWebHistory } from 'vue-router'

// 导入页面组件
const Tree = () => import('../views/tree.vue')

const routes = [
  {
    path: '/',
    name: 'Tree',
    component: Tree
  },
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router